package cn.kgc.crowdfundingadminspringboot2.service;

import cn.kgc.crowdfundingadminspringboot2.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService {
    public Admin selectById(Integer id);

    public Admin login(String loginAcct,String userPawd);

    public PageInfo<Admin> queryForKeywordSearch(Integer pageNum,Integer pageSize,String keyword);

    public void batchRemove(List<Integer> adminIdList);

    public void saveAdmin(Admin admin);

    public Admin getAdminById(Integer adminId);

    public void updateAdmin(Admin admin);
}
